﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using Business_Layer;

namespace Control_Layer
{
    // See UseCase:
    // UCD06-SELECTIONS (00)
    public class CCSelectColor
    {
        private Service service;

        public CCSelectColor()
        {
            service = Service.GetInstance;
        }

        /// <summary>
        /// Set the current color that will be used by all upcoming components.
        /// </summary>
        /// <param name="color">A color.</param>
        public void SetColor(Color color)
        {
            Project p = service.GetProject;
            p.ChangeColor(color);
        }
    }
}
